package org.example.finalobj;

/**
 * @author zhengdp
 * @Description
 * @Date 2022/12/4 15:45
 * @Created by zhengdp
 */
public class FinalTest {

    final int a = 20;
    final int b = Integer.MAX_VALUE;

    static int A = 10;
    static int B = Short.MAX_VALUE + 1;


}

class UseFinal1 {

    public void test() {
        System.out.println(FinalTest.A);
        System.out.println(FinalTest.B);
    }
}
